package routers

import (
	"eth_block_lottery/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/periods", &controllers.LotteryController{}, "get:Periods")
	beego.Router("/betting", &controllers.LotteryController{}, "post:Betting")
	beego.Router("/get_accounts", &controllers.LotteryController{}, "get:GetAccountAndNums")
}
